package cn.panda.edu.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 
 * 类描述：  章节表的实体Bean
 */
public class Section implements Serializable{
	/** 
	* @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么) 
	*/ 
	private static final long serialVersionUID = 1L;
	/**
	 * 章节编号
	 */
    private Integer sectionId;
    /**
     * 分数id
     */
    private Integer scoreId;

    /**
     * 章节测试编号
     */
    private Integer sectionTestId;
    
    /**
     * 课程编号
     */
    private Integer courseId;

    /**
     * 教师编号
     */
    private Integer teacherId;
    /**
     * 章节名称
     */
    private String sectionName;
    /**
     * 发布时间
     */
    private Date sectionAddtime;
    /**
     * 修改人
     */
    private String sectionModifyPerson;
    /**
     * 修改时间
     */
    private Date sectionModifyDate;
    /**
     * 删除状态
     */
    private Integer sectionDelete;
    
    
    
    private List<PartSection> partSections=new ArrayList<>();
    

    /**
	 * @return the partSections
	 */
	public List<PartSection> getPartSections() {
		return partSections;
	}

	/**
	 * @param partSections the partSections to set
	 */
	public void setPartSections(List<PartSection> partSections) {
		this.partSections = partSections;
	}

	public Integer getSectionId() {
        return sectionId;
    }

    public void setSectionId(Integer sectionId) {
        this.sectionId = sectionId;
    }

    public Integer getScoreId() {
        return scoreId;
    }

    public void setScoreId(Integer scoreId) {
        this.scoreId = scoreId;
    }

    public Integer getSectionTestId() {
        return sectionTestId;
    }

    public void setSectionTestId(Integer sectionTestId) {
        this.sectionTestId = sectionTestId;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public String getSectionName() {
        return sectionName;
    }

    public void setSectionName(String sectionName) {
        this.sectionName = sectionName == null ? null : sectionName.trim();
    }

    public Date getSectionAddtime() {
        return sectionAddtime;
    }

    public void setSectionAddtime(Date sectionAddtime) {
        this.sectionAddtime = sectionAddtime;
    }

    public String getSectionModifyPerson() {
        return sectionModifyPerson;
    }

    public void setSectionModifyPerson(String sectionModifyPerson) {
        this.sectionModifyPerson = sectionModifyPerson == null ? null : sectionModifyPerson.trim();
    }

    public Date getSectionModifyDate() {
        return sectionModifyDate;
    }

    public void setSectionModifyDate(Date sectionModifyDate) {
        this.sectionModifyDate = sectionModifyDate;
    }

    public Integer getSectionDelete() {
        return sectionDelete;
    }

    public void setSectionDelete(Integer sectionDelete) {
        this.sectionDelete = sectionDelete;
    }
}